import request from 'axios';
//注册页面接口
export const registeredGoodsApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//user/addUser",
        method: 'post',
        data: row
    })
};
//购物车查询接口
export const shopcarShowGoodsApi = (account) => {
    return request({
        url: "http://47.102.218.109:8082//tb_shop_car/queryshopcar/" + account ,
        method: 'get'
    })
};
//加入购物车
export const shopcarAddGoodsApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_shop_car/addshopcar/",
        method: 'post',
        data: row
    })
};
//删除购物车
export const shopcarDeteleGoodsApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_shop_car/deleteshopcar ",
        method: 'post',
        data: row
    })
};
//修改购物车
export const shopcarChangeGoodsApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_shop_car/updateshopcar",
        method: 'post',
        data: row
    })
};
//  结算接口
export const shopSettlementGoodsApi = (row) => {
    return request({
        url: "http://47.102.218.109:8082//tb_goods_buy/addgoodsbuy",
        method: 'post',
        data: row
    })
};
